From: Jeroen van der Heijden Date: Fri, 12 Oct 2018 18:28:41 +0000 (+0200) Subject: Messages in config X-Git-Tag: archive/raspbian/2.0.44-1+rpi1~1^2~3^2~8^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=773a0fb6f1a67dddfb929e10fb14f2636ac4e36f;p=siridb-server.git Messages in config --- diff --git a/src/siri/cfg/cfg.c b/src/siri/cfg/cfg.c index 581b9779..210d2d89 100644 --- a/src/siri/cfg/cfg.c +++ b/src/siri/cfg/cfg.c @@ -170,7 +170,7 @@ static void SIRI_CFG_read_uint( if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%u'", option_name, siri.args->config, @@ -218,7 +218,7 @@ static void SIRI_CFG_read_ip_support(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "ip_support", siri.args->config, @@ -386,7 +386,7 @@ static void SIRI_CFG_read_pipe_client_name(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "pipe_client_name", siri.args->config, @@ -445,7 +445,7 @@ static void SIRI_CFG_read_default_db_path(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "default_db_path", siri.args->config, @@ -607,7 +607,7 @@ static void SIRI_CFG_read_address_port( if (rc != CFGPARSER_SUCCESS) { log_critical( - "Error reading '%s' in '%s': %s.", + "Missing '%s' in '%s': %s.", option_name, siri.args->config, cfgparser_errmsg(rc));